home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d11 / egacus.arc / PALETC.DOC < prev    next >
Text File  |  1987-05-13  |  6KB  |  155 lines

  1.  Part of the ENHANCER series of programs PALETCON.COM  Ver. 1.0, Apr 17, 1985
  2.  
  3.      Copyright (C)    I. B. Miller     1985
  4.  
  5.     If you find this of value and use it please send a
  6.      contribution ($25.00) suggested. If you want the
  7.      latest version of the ENHANCER programs please send $25.00
  8.       plus $10.00 for Disk, Documentation, Shipping & Handling etc..
  9.  
  10.           To:  Enhancers
  11.            231 Otonabee Ave.
  12.            Willowdale, Ontario, Canada
  13.            M2M-2S9
  14.  
  15.       PALETCON is a program which Controls any of seventeen palettes on the
  16. enhanced color card ( Enhanced Graphics Adapter), to my knowledge it uses DOS
  17. functions properly as Underground docs. suggest will be recommended by IBM
  18. when it sees fit in its Corporate Wisdom to release  documentation.
  19.  
  20.       PALETCON uses a selectable interrupt default of keyboard 09, on the AT I
  21. also like 15 Sys Req, feel free to experiment, in order to reset palette
  22. colors as desired. This defeats the revisionist tendencies of most programs
  23. which reset colors to standard and then use black and white instead of your
  24. choice of colors. The only trouble is that on anything but the AT the speed
  25. of the DOS reset of color palettes is so slow as to be noticeable. I am
  26. looking at ways to speed it up so that this program will be more easily
  27. used on a regular PC.
  28.  
  29.       Note that some other programs such as Sidekick also work by borrowing
  30. or stealing vectors. This program and such others are usually compatible but
  31. in case of difficulty the order in which they are called up can be important
  32. as in the case of Sidekick where this must be called first.
  33.  
  34.  
  35. Syntax is: PALSET  PHH,PHH,iHH,sHH,o,r
  36. ----------
  37.  
  38.   , indicates another palette color change is coming
  39.  
  40.   P is any hex digit (0-F) to indicate the desired palette number.
  41.  
  42.   s means the overscan or border ( letter s ) (Not useable in enhanced mode)
  43.                            (temporarily fouls up display.)
  44.  
  45.   o means turn off the resetting action ( letter o )
  46.  
  47.   r means reset to standard colors ( letter r )
  48.  
  49.   HH is the color to be used (MUST be 2 digits - see below for colors -
  50.  
  51.      Regular Monitor  - note that the default gives standard colors on
  52.      ----------------    the enhanced monitor - you must set the high intensity
  53.             colors for the regular monitor following rules below.
  54.  
  55.      note that if you have a regular monitor the card will give regular colors
  56.      only but while 8 to F are NORMALLY high intensity versions of 0 to 7
  57.      the EGA must have a 1 put in to get high intensity.
  58.        - A is bright green on regular card but on the EGA
  59.        bright green is 1A or 12 - similar for 0E and 1E or 16 etc.
  60.  
  61.     I suspect that it has to do with the fact that when operating with
  62.      a regular monitor the card ignores bits to define other colors and just
  63.      uses those which define the standard set of 8, then it looks to the high
  64.      digit and looks only at the 1 bit to pick high intensity.
  65.  
  66.      Enhanced Monitor
  67.      ----------------
  68.  
  69.     Bits 1 is    Medium    Blue     - 01
  70.          2 is    Medium    Green     - 02
  71.          3 is    Medium    Red     - 04
  72.          4 is Low    intensity Blue     - 08
  73.          5 is Low    intensity Green  - 10
  74.          6 is Low    intensity Red     - 20
  75.        1+4 is High    intensity Blue     - 09     Low and medium add to give
  76.        2+5 is High    intensity Green  - 12      high    - this is the basic
  77.        3+6 is High    intensity Red     - 24      principle the card works on
  78.  
  79.   There are also a high number of mixed and matched colors available
  80.   Feel free to try combinations. I just received the Enhanced Display
  81.   and am having a great time setting special colors.
  82.  
  83. This program is particularly good for use with the 3278/79 emulation to get
  84.   some decent colors on the screen, set up and use BAT files for your colors.
  85.  
  86.  
  87. Following is the standard palette color set and the numbers which describe
  88.    them
  89.  
  90.          B    B  G  C  R  M  B  W  G High intensity colors O
  91.          l    l  r  y  e  a  r  h  r --------------------- v
  92.          a    u  e  a  d  g  o  i  e    B  G  C  R  M  B  W  e
  93.          c    e  e  n     e  w  t  y    l  r  y  e  a  r  h  r
  94.          k       n        n  n  e    u  e  a  d  g  o  i  s
  95.                 t        e  e  n     e  w  t  c
  96.                 a           n        t  n  e  a
  97.                             a         n
  98.  
  99. palette No = 0    1  2  3  4  5  6  7  8    9  A  B  C  D  E  F 10
  100.                                  ^-this is the
  101.                                Seventeenth I have
  102.                              used the letter s for it
  103.                              in the program parameters.
  104.  
  105. Sample command ( Easiest to use from a batch file as remembering colors
  106. --------------                              is difficult)
  107.  
  108. PALETCON  001,212,717,916,s01 (note that this choice is for a regular monitor)
  109.  
  110.   to set up the palettes to get decent colors with the 3278/79 emulate
  111.   card    -  change as desired to have different colors in place of standard.
  112.  
  113. This says change 0 or Black background to 01 or Blue background
  114.          2 or Dark Green       to 12 or Light Green
  115.          7 or White *           to 17 or High intensity White
  116.          9 or Light Blue **    to 16 or Light Yellow
  117.          s or Overcan (Border) to 01 or Blue border
  118.     * It is called White but it is really a Dull White
  119.  
  120.  
  121.  
  122. Disclaimer
  123. ----------
  124.      For obvious reasons the user is totally responsible for use of this
  125. program and determining that it is suitable for use by him, and he uses this
  126. program with no warranty from myself.
  127.  
  128.     It should work properly with the EGA from IBM or any card which later
  129. maintains compatibility with it
  130.  
  131. General
  132. --------
  133. The official standard color palettes are:
  134.  
  135.             0. Black        8. grey
  136.             1. Blue         9. Light Blue
  137.             2. Green        A. light Green
  138.             3. Cyan         B. Light Cyan
  139.             4. Red            C. light Red
  140.             5. Magenta        D. Light Magenta
  141.             6. Brown        E. Yellow
  142.             7. White        F. bright White
  143.  
  144.     You might want to try some of the following to replace any of the
  145. standard colors - example uses the 0 or normally Black Palette.
  146.         10 - a beautiful deep green    "paletcon 010"
  147.         08 - a very deep blue           "paletcon 008"
  148.         20 - a very deep red           "paletcon 020"
  149.         34 - an orangish salmon        "paletcon 034"
  150.         25 - a hot pink            "paletcon 025"
  151.  
  152.        If you have any comments or suggestions please contact
  153. me either at Home in the evenings at           (416) 226-9753
  154. or at the following BBS's   PCanada(pc-1266)   (416) 751-6337
  155.                 SGV-BBS        (416) 673-0557